<template>
  <div>
      <h1>消息的标号:{{id}}</h1>
      <h1>消息的标题：{{title}}</h1>
  </div>
</template>
<script>
export default {
  name: "Detail",
  props:['id','title'],
  mounted(){
      console.log('detail接收到的参数是',this.$route)
  }
};
</script>

